package com.jxc.wiki.service;

import com.jxc.wiki.request.CommentSaveParamReq;
import com.jxc.wiki.response.CommentQueryParamResp;
import com.jxc.wiki.response.StatisticParamCommentResp;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {

    // 评论保存业务层方法
    void saveComment(CommentSaveParamReq req);

    // 根据 docName 获取评论
    List<CommentQueryParamResp> getComment(String docName);

    // 获取评论总数和今日评论数
    StatisticParamCommentResp getStatisticComment();
}
